<%= fields_for(:obj) do %>
  <%= text_field(:foo) %>
<% end =%>
